﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Common;
using GameServer.Servers;

namespace GameServer.Controller
{
    abstract class BaseController
    {
        protected RequestCode requestCode = RequestCode.None;
        public RequestCode RequestCode
        {
            get
            {
                return requestCode;
            }
        }

        /// <summary>
        /// 子类选择实现
        /// </summary>
        public virtual string DefaultHandle(string data, Client _client, Server _server) { return null; }
    }
}
